﻿using UnityEngine;

namespace QFramework
{
    public class MainControl : Entity
    {

        public const string DataJosn = "";

        public MainControl() : base()
        {

        }

        public MainControl(GameObject m_Obj) : base(m_Obj)
        {

        }
        
        protected override void InitState()
        {
            ////**
            //AState m_Astate = new AState(self);
            //m_Astate.AddTransition("isB", "BState");
            //AddState(m_Astate);
            ////**
            //BState m_BState = new BState(self);
            //m_BState.AddTransition("isA", "AState");
            //AddState(m_BState);

        }
        
        public static MainControl Get(GameObject obj)
        {
            return new MainControl(obj);
        }

        protected override void OnDestroy()
        {
            
        }
    }
}
